﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SmartSpace.Core;

namespace SmartSpace.Data.AutoInput
{
    public class OperatorInput : IAutoInput
    {
        public void Fix(FieldInstance fieldInstance, User user)
        {
            string value = DateTime.Now.ToString("yyyy-MM-dd");
            FieldInstance.SetData(fieldInstance, user.Id.ToString("D"), user.Name);
        }
    }
}
